package cn.ainit.butn.proceduce;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import cn.ainit.sys.ds.cloumns.sysCloumnsId;

/**
 * CommonProcedure entity. @author MyEclipse Persistence Tools
 */

@Entity
@IdClass(CommonProcedurepk.class)
@Table(name = "SYS_BUTN_PROCEDURES")
public class CommonProcedure implements java.io.Serializable {

	// Fields

	private String dsId;
	private String prefix;
	private String procedure;
	private String code;
	private String backFunc;
 
	@Id
	@Column(name = "DS_ID", unique = true, nullable = false, length = 32)
	public String getDsId() {
		return this.dsId;
	}

	public void setDsId(String dsId) {
		this.dsId = dsId;
	}

	@Column(name = "PREFIX", length = 20)
	public String getPrefix() {
		return this.prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	@Column(name = "PROCEDURE", length = 50)
	public String getProcedure() {
		return this.procedure;
	}

	public void setProcedure(String procedure) {
		this.procedure = procedure;
	}

	@Id
	@Column(name = "CODE", length = 30)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "BACK_FUNC", length = 30)
	public String getBackFunc() {
		return this.backFunc;
	}

	public void setBackFunc(String backFunc) {
		this.backFunc = backFunc;
	}

}